package com.frank.oj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.frank.model.entity.group.GroupMember;
import com.frank.oj.model.vo.GroupMemberVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author frank
 * @Date 2024/3/29
 */
@Mapper
public interface GroupMemberMapper extends BaseMapper<GroupMember> {
    List<GroupMemberVO> getMemberList(IPage<GroupMemberVO> iPage, @Param("keyword") String keyword, @Param("auth") Integer auth, @Param("gid") Long gid);

    List<GroupMemberVO> getApplyList(IPage<GroupMemberVO> iPage, @Param("keyword") String keyword, @Param("auth") Integer auth, @Param("gid") Long gid);
}
